.container#login_form
  = form_for @editor, url: '/session' do |f|
    div.alert
      strong  = notice
    div style="height: 50px"
      span 用户
      = f.text_field  :telephone, placeholder: "请输入手机"
    div style="height: 50px"
      span 密码
      = f.password_field  :password, placeholder: "请输入密码"
    = f.submit '登录'

scss:
  #login_form {
    margin-top: 10px;
    text-align: center;

  }

  #login_form input {
    width: 20%;
    height: 70%;
  }

  #login_form span {
    margin-right: 60px;
    font-size: 15px;
  }

  #login_form input[type="submit"] {
    margin-top: 20px;
    width: 320px;
    height: 42px;
    border: 0;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    line-height: 42px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #4aaf51;
    border-radius: 3px;
    cursor: pointer;
    zoom: 1;
  }

  strong {
   font-size: 15px;
   color: red;
  }
